package com.sais.manage.boot.platform.dto;

import com.sais.common.dto.BaseDTO;
import com.sais.manage.boot.platform.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 宿舍管理系统-用户DTO
 *
 * @author zhang
 * @date 2019/11/30
 **/
@Data
@NoArgsConstructor
@Builder
@AllArgsConstructor
public class UserDTO extends BaseDTO {

    private String ukId;
    private String account;
    private String username;
    private String salt;
    private Integer status;
    private Integer sort;

    private UserInfoDTO userInfo = new UserInfoDTO();
    private List<Role> roles;

}
